// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
// WITH_STDLIB

@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
fun oldFun(list: List<Int>, vararg p: Int){
    newFun(*p, *list.toIntArray())
}

fun newFun(vararg p: Int){}

fun foo(list: List<Int>) {
    <caret>oldFun(list, 1, 2, 3)
}

// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.replaceWith.DeprecatedSymbolUsageFix